package com.yunyi.exception;

import com.yunyi.response.ResultCode;

/**
 * @ClassName ExceptionCast
 * @Description TODO
 * @Author leizhang
 * Date 2020/6/26 6:45 下午
 * @Version 1.0
 **/
public class ExceptionCast {
    //自定义异常抛出工具类
    public static void cast(ResultCode resultCode){
        throw  new CustomException(resultCode);
    }
}
